-- GENERATED SPELL FOR [Razorfen Stalker] --


function spell0_6035(pUnit, Event) --@Backstab,n/a--
pUnit:FullCastSpellOnTarget(7159,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_6035', 590, 1)
end

function Sorts_6035(pUnit, Event)
local choix_sorts_6035 = math.random(0, 0)
if choix_sorts_6035 == 0 then
pUnit:RegisterEvent('spell0_6035', 1, 1)
end
end

function mob6035_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_6035', math.random(1500, 3000), 1)
end

function mob6035_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6035_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob6035_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(6035, 1, 'mob6035_Action')
RegisterUnitEvent(6035, 2, 'mob6035_Leave')
RegisterUnitEvent(6035, 3, 'mob6035_Kill')
RegisterUnitEvent(6035, 4, 'mob6035_Die')
